import request from "@/utils/request";




export function add(data) {
  return request({
    url: "/sinohis/pension/sys/dictionary/addCareLevel",
    method: 'post',
    data

  });

}
export function modifyLevelInfo(data) {
  return request({
    url: "/sinohis/pension/sys/dictionary/modifyLevelInfo/"+data.levelCode,
    method: 'put',
    data

  });

}
export function LevelInfo(params) {
  return request({
    url: "/sinohis/pension/sys/dictionary/findCareLevel/"+params.levelCode ,
    method: 'get',
    params

  });

}

export function search(params) {
  return request({
    url: "/sinohis/pension/sys/dictionary/findAllCareLevelbyInst/"+params.institutionNumber,
    method: 'get',
    params

  });

}
